package com.hmy.finance.api.bo.core.request;

import com.hmy.finance.api.bo.core.request.enums.ClaimBillTypeEnum;
import com.hmy.finance.api.bo.core.request.enums.ProfitLossTypeEnum;
import com.hmy.finance.api.bo.core.request.vos.BaseGenerateProfitLossVo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 索赔损益请求
 *
 * @author songkf
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ClaimGenerateRequest extends BaseGenerateProfitLossVo implements java.io.Serializable {
    private static final long serialVersionUID = -6293211479549508895L;
    /**
     * 损益类型
     */
    private final ProfitLossTypeEnum profitLossType = ProfitLossTypeEnum.LOSS;
    /**
     * 索赔单关联单据类型
     */
    private ClaimBillTypeEnum claimRelatedBillType;
    /**
     * 进场单ID
     */
    private Long entryFormId;
    /**
     * 索赔单关联单据ID
     */
    private Long claimRelatedBillId;
    /**
     * 索赔设备ID
     */
    private Long claimDeviceId;

    /**
     * 索赔金额
     */
    private BigDecimal claimAmount;
}
